import React, { Component } from 'react'
import {Link, Route} from 'react-router-dom'
import ChildRouteComp from './ChildRouteComp'

export default class RouteComp1 extends Component {
  render() {

    return (
      <div>
        <h2>RouteComp1111</h2>
        <Link to="/rc1/child">显示子路由</Link>
        <hr />
        <Route path="/rc1/child" component={ChildRouteComp}></Route>
      </div>
    )
  }
}
